
import 'package:flutter/material.dart';
import 'colors.dart';
class AppStyle{
  AppStyle._();
  static TextTheme appbar()=>TextTheme(
    button: TextStyle(fontSize: 12, color: Colors.black),
    caption: TextStyle(fontSize: 14, color: Colors.black),
    headline1: TextStyle(fontSize: 10, color: Colors.black),
    headline2: TextStyle(fontSize: 12, color: Colors.black),
    headline3: TextStyle(fontSize: 13, color: Colors.black),
    headline4: TextStyle(fontSize: 14, color: Colors.black),
    headline5: TextStyle(fontSize: 15, color: Colors.black),
    headline6: TextStyle(fontSize: 18, color: Colors.black),
    subtitle1: TextStyle(fontSize: 14, color: AppColors.textColor),
    subtitle2: TextStyle(fontSize: 13, color: AppColors.textHintColor),
    bodyText1: TextStyle(fontSize: 14, color: AppColors.textColor),
    bodyText2: TextStyle(fontSize: 14, color: Colors.green),
  );
  static const TextTheme textTheme =TextTheme(
    button: TextStyle(fontSize: 12, color: Colors.white),
    caption: TextStyle(fontSize: 14, color: Colors.white),
    overline: TextStyle(fontSize: 8, color: AppColors.lineColor),
    headline1: TextStyle(fontSize: 12, color: Colors.black),
    headline2: TextStyle(fontSize: 14, color: Colors.black),
    headline3: TextStyle(fontSize: 16, color: Colors.black),
    headline4: TextStyle(fontSize: 12, color: AppColors.textColor),
    headline5: TextStyle(fontSize: 14, color: AppColors.textColor),
    headline6: TextStyle(fontSize: 16, color: AppColors.textColor),
    subtitle1: TextStyle(fontSize: 14, color: AppColors.textColor),
    subtitle2: TextStyle(fontSize: 12, color: AppColors.textSecondaryColor),
    bodyText1: TextStyle(fontSize: 14, color: AppColors.textColor),
    bodyText2: TextStyle(fontSize: 14, color: AppColors.textColor),
  );

  static  TextTheme theme = textTheme;
  static TextStyle textStyle = theme.headline2;
  static TextStyle subTextStyle = theme.subtitle2;
  static TextStyle textBoldStyle = textStyle.copyWith(fontWeight: FontWeight.bold);
  static TextStyle primaryTextStyle = textStyle.copyWith(color: AppColors.primaryColor);
  static TextStyle bigTextStyle = textStyle.copyWith(fontSize: 20);
  static TextStyle bigSubTextStyle = subTextStyle.copyWith(fontSize: 20);
  static TextStyle appbarTextStyle = theme.headline3;
}